﻿@model Angel.Web.Models.DeleteRoleModels
@{
    ViewBag.Title = "Delete Project Role";
    
}
@using (Html.BeginForm()){
        @Html.ValidationSummary(true)

<html class="mozilla">
	<head>
		<title>Delete Project Role</title>       	
	</head>
	<body class="aui-layout aui-theme-default page-type-admin ">
		<div>
			<section id="content">
			<header>
				<h1>Roles</h1>
			</header>
			<div class="content-container">
				<div class="content-body aui-panel">           
						<table class="jiraform maxWidth">
							<tbody>
								<tr>
									<td>
										<h3 class="formtitle">Delete Project Role:@Html.DisplayFor(m=>m.Name) </h3>
									</td>
								</tr>	
								<tr>
									<td>
										<div>
											<p>
												Are you sure you would like to delete project role <strong> @Html.DisplayFor(m => m.Name)</strong>?
											</p>
											<div class="aui-message warning">
												NOTE: Deleting this project role will delete it from all projects and schemes.
											</div>
										</div>
									</td>
								</tr>	 
								<tr>
									<td>
										<p>
											Project role <strong>@Html.DisplayFor(m => m.Name)</strong> is used by <strong>1</strong> <strong>permission</strong> schemes:
										</p>
										<table class="aui">
											<thead>
												<tr>
													<th>Permission Scheme</th>
													<th>Associated Projects</th>
													<th>Project Role Members Per Project</th>
												</tr>
											</thead>
											<tbody>
												<tr>						
													<td rowspan="11"><a href="">Default Permission Scheme</a></td>
													<td>
														<a href="">Project1</a>
													</td>
													<td>
														1 (<a href="">View</a>)
													</td>
												</tr>	
												<tr>
													<td>
														<a href="">Project2</a>
													</td>
													<td>
														1 (<a href="">View</a>)
													</td>
												</tr>
												<tr>
													<td>
														<a href="">Project3</a>
													</td>
													<td>
														1 (<a href="">View</a>)
													</td>
												</tr>
											</tbody>
										</table>
									</td>
								</tr>
								<tr class="buttons-container">   
									<td>   
										<div >
											<div>  												
                                               
                                                <input id="delete_submit" class="aui-button " type="submit"  accesskey="s" value="Delete"/>
                                                 @Html.ActionLink("Cancel","Index")                                                       
											</div>
										</div>
									</td>
								</tr>
							</tbody>
						</table>
				</div>
			</div>
	</body>
</html>
}